package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dhcc.core.framework.base.entity.DataEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 护理病历
 * 
 * @ClassName: CdcNurEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:07
 */
@TableName("t_cdc_bs_nur") 
public class CdcNurEntity extends DataEntity<CdcNurEntity> {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	//就诊记录
	private Long episodeId;
	//文档代码
	private String docCode;
	//文档名称
	private String docName;
	//索引码
	private String xcode;	
	//描述
	private String description;	
	//内容
	private String content;	
	//填写日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date nurDate;	
	//填写人
	private Long burUserId;	
	//业务数据类型
	private Long dataId;	
	//是否有效
	private Integer isActive;	

	/**
	 * 设置：就诊记录
	 */
	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}
	/**
	 * 获取：就诊记录
	 */
	public Long getEpisodeId() {
		return episodeId;
	}
	/**
	 * 设置：索引码
	 */
	public void setXcode(String xcode) {
		this.xcode = xcode;
	}
	/**
	 * 获取：索引码
	 */
	public String getXcode() {
		return xcode;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：内容
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 获取：内容
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 设置：填写日期
	 */
	public void setNurDate(Date nurDate) {
		this.nurDate = nurDate;
	}
	/**
	 * 获取：填写日期
	 */
	public Date getNurDate() {
		return nurDate;
	}
	/**
	 * 设置：填写人
	 */
	public void setBurUserId(Long burUserId) {
		this.burUserId = burUserId;
	}
	/**
	 * 获取：填写人
	 */
	public Long getBurUserId() {
		return burUserId;
	}
	/**
	 * 设置：业务数据类型
	 */
	public void setDataId(Long dataId) {
		this.dataId = dataId;
	}
	/**
	 * 获取：业务数据类型
	 */
	public Long getDataId() {
		return dataId;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}

	public String getDocCode() {
		return docCode;
	}

	public void setDocCode(String docCode) {
		this.docCode = docCode;
	}

	public String getDocName() {
		return docName;
	}

	public void setDocName(String docName) {
		this.docName = docName;
	}
}
